<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>新致双录云平台</title>
		<meta name="description" content="微营销管理平台">
		<meta name="keywords" content="index">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="icon" type="image/png" href="../../assets/img/main/liantongLOGO.jpg">
		<link rel="apple-touch-icon-precomposed" href="../../assets/libs/amazeui/i/app-icon72x72@2x.png">
		<meta name="apple-mobile-web-app-title" content="Amaze UI" />
		<link rel="stylesheet" href="../../assets/libs/amazeui/css/amazeui.min.css" />
		<link rel="stylesheet" href="../../assets/libs/amazeui/css/amazeui.datatables.min.css" />
		<link rel="stylesheet" href="../../assets/libs/amazeui/css/app.css?v2017010301">
		<link rel="stylesheet" href="../../assets/css/core.css?v2017010301">
	</head>

	<body data-type="index" page-text="用户管理" style="overflow: hidden">
		<!--
			Conductor:Kangmengmeng
			Author:Zhangzhihao
			Time:2016.12.06 11:00
		-->
		<div class="am-g tpl-g" v-cloak id="main">
			<!-- 内容区域 -->
			<div class="tpl-content-wrapper content-margin-left">
				<!-- TODO 内容显示区域 -->
				<div class="row-content am-cf">
					<div class="row">
						<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
							<div class="widget am-cf">
								<div class="widget-head am-cf">
									<div class="widget-title am-fl">双录审核页面</div>
									<div class="widget-function am-fr">
									</div>
								</div>
								<div class="widget-body am-fr">
									<form class="am-form tpl-form-border-form tpl-form-border-br">
										<div class="am-u-sm-12 am-u-sm-12 am-u-sm-12 del-padding">
											<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-6">
												<label class="am-form-label am-u-sm-4">投保人</label>
												<div class="am-u-sm-6 am-u-sm-pull-2">
													<input type="text" class="tpl-form-input" placeholder="投保人" disabled v-model="approve.task.customerName">
												</div>
											</div>
											<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-6">
												<label class="am-form-label am-u-sm-4">投保单号</label>
												<div class="am-u-sm-6 am-u-sm-pull-2">
													<input type="text" class="tpl-form-input"   placeholder="投保单号" disabled v-model="approve.task.policyNo">
												</div>
											</div>
											
										</div>
										<div class="am-u-sm-12 am-u-sm-12 am-u-sm-12 del-padding">
											<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-6">
												<label class="am-form-label am-u-sm-4">双录时间</label>
												<div class="am-u-sm-6 am-u-sm-pull-2">
													<input type="text" class="tpl-form-input"   placeholder="双录时间" disabled v-model="approve.task.createTime">
												</div>
											</div>
											<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-6">
												<label class="am-form-label am-u-sm-4">上传时间</label>
												<div class="am-u-sm-6 am-u-sm-pull-2">
													<input type="text" class="tpl-form-input" placeholder="上传时间" disabled v-model="approve.task.uploadTime">
												</div>
											</div>
											
										</div>
										<!-- <div class="am-u-sm-12 am-u-sm-12 am-u-sm-12 del-padding">
											<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-6">
												<label class="am-form-label am-u-sm-4">上传状态</label>
												<div class="am-u-sm-6 am-u-sm-pull-2">
													<input type="text" class="tpl-form-input"   placeholder="上传状态" disabled v-model="">
												</div>
											</div>
										</div> -->
										<div class="am-form-group am-u-sm-12">
											<!-- <div class="am-u-sm-9 am-u-sm-push-3 am-u-md-7 am-u-md-push-5 am-u-lg-7 am-u-lg-push-5">
												<button type="button"
														class="am-btn am-btn-primary tpl-btn-bg-color-success am-btn-xs" @click="saveBtn()">
													<span class="am-icon-save"></span>&nbsp;保存
												</button>
												<button type="button"
														class="am-btn am-btn-primary tpl-btn-bg-color-success am-btn-xs" @click="goBtn()">
													<span class="am-icon-backward"></span>&nbsp;返回
												</button>
											</div> -->
										</div> 
									</form>
								</div>
							</div>
						</div>
					</div>
					
					<div class="row">
						<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
							<div class="widget am-cf">
								<div class="widget-head am-cf">
									<div class="widget-title am-fl">审核列表</div>
									<div class="widget-function am-fr">
									</div>
								</div>
								<div class="widget-body am-fr">
									<div class="am-u-sm-12">
									<table width="100%"
										class="am-table am-table-compact am-table-striped tpl-table-black am-table-centered"
										id="example-r">
										<tbody>
											<tr  v-for="(item, index) in approve.taskNodeApprove">
												<td>{{item.node_id}}</td>
												<td style="width:25%"><input type="radio" class="anyCheck" name="any" style="margin-top:5px;margin-left:24px;float:left"/><span style="margin-left:4px;float:left">{{item.node_name}}</span></td>
												<td><span style="cursor: pointer" v-on:click="xiazai(item.file_id)">下载</span></td>
												<td><span style="cursor: pointer" v-on:click="check(item.file_id,approve.task.taskId,item.node_id)">查看</span></td>
												<td><span style="float:right">备注</span></td>
												<td style="width:35%"><textarea :id="index" style="height:24px;resize:none;float:left;width:100%;margin-top:2px" v-modal="approveData.object.approve_memo">{{item.approve_memo}}</textarea></td>
												<td v-if="item.approve_state != '2' "><button style="float:right" class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs" v-on:click="approveNode(index,2)">通过</button></td>
												<td v-else="item.approve_state == '2' "><button style="float:right;background:green;border:0;outline:none" class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs"  v-on:click="approveNode(index,2)">通过</button></td>  
												<td v-if="item.approve_state != '3' "><button style="float:left" class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs" v-on:click="approveNode(index,3)">不通过</button></td>
												<td v-else="item.approve_state == '3' "><button style="float:left;background:red;border:0;outline:none" class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs" v-on:click="approveNode(index,3)">不通过</button></td>
												<td style="display:none"><span :id="'task_id'+index"  v-modal="approveData.object.task_id">{{item.task_id}}</span></td>
												<td style="display:none"><span :id="'node_id'+index"  v-modal="approveData.object.node_id">{{item.node_id}}</span></td>
												<td style="display:none"><span :id="'approve_id'+index"  v-modal="approveData.object.approve_id">{{item.approve_id}}</span></td>
											</tr>
											<!-- more data -->
										</tbody>
									</table>
								</div>
								<div class="am-u-sm-12" style="text-align:center">
								<button class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs" v-on:click="fanhui('sys/task/manage.html',approve.task.taskId)">返回</button>
								</div>
							</div>
						</div>
					</div>
					</div>										
				</div>
			</div>
		</div>
		<script src="../../assets/js/util/crypto-js.min.js"></script>
		<script src="../../assets/js/util/Aes.js"></script>
		<script src="../../assets/libs/amazeui/js/jquery.min.js"></script>
		<script src="../../assets/libs/vue/vue.min.js"></script>
		<script src="../../assets/libs/amazeui/js/theme.js"></script>
		<script src="../../assets/libs/amazeui/js/amazeui.min.js"></script>
		<script src="../../assets/libs/amazeui/js/amazeui.datatables.min.js"></script>
		<script src="../../assets/libs/amazeui/js/dataTables.responsive.min.js"></script>
		<script src="../../assets/js/util/inner.js?v2017010301"></script>
		<script src="../../assets/env.js?v2017010301"></script>
		<script src="../../assets/js/util/common.js?v2017010301"></script>
		<script src="../../assets/js/biz/sys/task/approve.js?v2017010301"></script>
	</body>

</html>